package PuKe;

import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        CardGame cardGame=new CardGame();
        List<Card> ret=cardGame.buyCard();
        System.out.println(ret);
//        洗牌
        System.out.println("洗牌后:");
        cardGame.shuffle(ret);
        System.out.println(ret);
        System.out.println("发牌");
        List<List<Card>> hand=cardGame.getCard(ret);
        for (int i = 0; i < 3; i++) {
            System.out.println("第"+(i+1)+"个人的牌："+hand.get(i));
        }
        System.out.println("剩下的牌：");
        System.out.println(ret);
    }
}
